wayland: Protocol change: wl_shell_surface_* take surfaces for parents
authorRob Bradford <rob@linux.intel.com>
Wed, 11 Jul 2012 13:37:46 +0000 (14:37 +0100)
committerRob Bradford <rob@linux.intel.com>
Thu, 12 Jul 2012 14:58:38 +0000 (15:58 +0100)
These functions used to take shell_surface objects and now take surface
objects the parents.

gdk/wayland/gdkwindow-wayland.c

index 70bea608f21be5f0eb8ab713fce75666263aa4bd..edc6e89677525947fc82dcf7f725f68143374a8a 100644 (file)
@@ -643,10 +643,10 @@ gdk_wayland_window_map (GdkWindow *window)
                */
               wl_shell_surface_set_popup (impl->shell_surface,
                                           parent->grab_input_seat, parent->grab_time,
-                                          parent->shell_surface,
+                                          parent->surface,
                                           window->x, window->y, 0);
             } else {
-                wl_shell_surface_set_transient (impl->shell_surface, parent->shell_surface,
+                wl_shell_surface_set_transient (impl->shell_surface, parent->surface,
                                                 window->x, window->y, 0);
             }
         }